/**
 * @author 赵希奥
 * @date 2022/4/20 21:03
 * @gitHub https://github.com/CKXGZXA
 * @gitee https://gitee.com/ckxgzxa
 * @description:
 */
public class MainClass {
    public static void main(String[] args) {
        Class obj = new Class();
        Student student1, student2, student3, student4;
        student1 = new Student("杨过", 20, "男");
        student2 = new Student("令狐冲", 22, "男");
        student3 = new Student("段誉", 21, "男");
        student4 = new Student("慕容复", 19, "男");
        obj.addStudent(student1);
        obj.addStudent(student2);
        obj.addStudent(student3);
        obj.addStudent(student4);
        obj.displayStudents();
    }
}
